﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package Transactions {
    import Engine.Transactions.*;

    public class TProgressPeddlerCenter extends Transaction {

        private var m_callBack:Function;

        public function TProgressPeddlerCenter(_arg1:Function){
            this.m_callBack = _arg1;
        }
        override public function perform():void{
            signedCall("PeddlerCenterService.processPeddlerCenterUpgrade");
        }
        override protected function onComplete(_arg1:Object):void{
            Global.peddlerManager.refreshOwnPeddlerData(_arg1);
            if (this.m_callBack != null){
                this.m_callBack();
            };
        }

    }
}//package Transactions 
